package com.serverTechnology.teamsGroups.entity;

import cn.stylefeng.roses.kernel.db.api.pojo.entity.BaseEntity;
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 工步所需图纸
 * </p>
 *
 * @author 王凯炫
 * @since 2024-08-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("TE_STEPS_DRAWING")
@ApiModel(value="TeStepsDrawing对象", description="工步所需图纸")
public class TeStepsDrawing extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ChineseDescription("ID")
    @TableId(value = "ID", type = IdType.ASSIGN_ID)
    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty("ID")
    private Long id;

    @ChineseDescription("工步ID")
    @TableField("STEPS_ID")
    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty("工步ID")
    private Long stepsId;

    @ChineseDescription("图纸名称")
    @TableField("DRAWING_NAME")
    @ApiModelProperty("图纸名称")
    private String drawingName;

    @ChineseDescription("图纸图片")
    @TableField("IMAGE")
    @ApiModelProperty("图纸图片")
    private String image;

    @ApiModelProperty(value = "备注")
    @TableField("REMARK")
    private String remark;


}
